#include <string>
double round(double x, int n);
std::string genKey(char type_cle, unsigned long int iter, unsigned int *seed, bool *regles);

#ifndef HAVE_RAND_R
int rand_r(unsigned int *seed);
#else
#include <cstdlib>
#endif

bool nbChiffres(std::string key, int n);